{extend name="base:frame" /}
{block name="main"}
<form action="" method="get">
    <div class="layui-inline">
        <div class="layui-input-inline" style="width: 200px;">
            <input type="text" name="name" autocomplete="off" class="layui-input" placeholder="请输入搜索条件" value="{$name|default=''}">
        </div>

        <button id="submit" class="layui-btn" >确定</button>
    </div>
</form>
<table class="layui-table">
    <thead>
    <tr>
        <th width="200">群编号</th>
        <th width="200">群名称</th>
        <th width="200">群成员</th>

        <th width="200">电话号</th>
        <th width="200">所在地区</th>
        <th width="200">群成员数</th>
        <th width="200">下级群主数</th>
        <th width="200">成交订单数</th>
    </tr>
    </thead>
    <tbody>
    {volist name='list' id='item'}
    <tr>
        <td>{$item.code}</td>
        <td>{$item.name}</td>
        <td>{$item.personal_name}</td>
        <td>{$item.tel}</td>
        <td>{$item.area}</td>

        <td>{$item.user_number}</td>
        <td>{$item.next_number}</td>
        <td>{$item.order_number}</td>

    </tr>
    {/volist}

    </tbody>
</table>

<script>
    var cate_id=$_GET['cate_id']
    $(function () {
        $("#cate_id").val(cate_id)
    })
    function setcate() {
        window.location.href='/admin/goods/lists?cate_id='+$("#cate_id").val()
    }
</script>
{/block}